package com.boom.springapp.mystarterautoconfigure.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
/**
 * @author hhl
 * @version 1.0
 * @description
 * @date 2025/8/24 22:47
 */

@Data
@ConfigurationProperties(prefix = "hello")
public class HelloProperties {

    /**
     * 是否启用Hello功能
     */
    private boolean enabled = true;

    /**
     * 欢迎语前缀
     */
    private String prefix = "Hello";

    /**
     * 默认名称
     */
    private String defaultName = "World";

}